Perceptual-based memory encoding